package com.ag.oa.core.dao;

import com.ag.oa.core.entity.vo.SkillVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("skillDao")
public interface ISkillDao {

    List<SkillVO> getAllWorkSkillByUserId(@Param("userId") Integer userId);

    SkillVO getById(@Param("id") Integer id);

    void saveAddWorkSkill(SkillVO skillVO);

    void updateWorkSkill(SkillVO skillVO);

    void delWorkSkill(@Param("id") Integer id);

}
